package com.zzw;

/***
 * @ClassName: yunsuanfu
 * @Description:
 * @Auther: 送一一块二向箔
 * @Date: 22:04 2022/1/23
 * @version : V1.0
 */
public class yunsuanfu {
    public static void main(String[] args) {
        double t1 = 0.333;
        int t2 = 8;
        System.out.println(t1 * t2);
        int a = 1;
        int a1 = ++a;
        System.out.println(a1);
        int a3 = 9;
        int a4 = a3++;
        System.out.println(a4);
        int c1 = 10;
        int c2 = 40;
        int c3 = 80;
        boolean s = c1 > c2 && c1 > c3;
        System.out.println(s);
        int age = 80;
        if (age <= 16)//不可以加分号
        {
            System.out.println("小朋友");
        } else if (age < 35) {
            System.out.println("青壮年");
        } else if (age < 60) {
            System.out.println("中年人");
        } else
            System.out.println("老头子");
        int c = 9;
        if (c < 10)//一个等号是赋值，两个等号是等号
        {
            System.out.println("888");
            if (c == 9) {
                System.out.println("999");
            }
        } else {
            System.out.println("666");
        }
    }


}
;

